<%--
  Created by IntelliJ IDEA.
  User: Tian
  Date: 2024/3/9
  Time: 9:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/updateEmp" method="post">
    员工编号:<input type="text" readonly value="${requestScope.e.empno}" name="empno"><br>
    员工姓名:<input type="text" value="${requestScope.e.ename}" name="ename"><br>
    员工工作:<input type="text" value="${requestScope.e.job}" name="job"><br>
    上司编号:<input type="text" value="${requestScope.e.mgr}" name="mgr"><br>
    入职日期:<input type="date" value="<f:formatDate value="${e.hiredate}" pattern="yyyy-MM-dd"></f:formatDate>" name="hiredate"><br>
    员工工资:<input type="text" value="${requestScope.e.sal}" name="sal"><br>
    员工提成:<input type="text" value="${requestScope.e.comm}" name="comm"><br>
    部门编号:<input type="text" value="${requestScope.e.deptno}" name="deptno"><br>
    <input type="submit" value="保存">


</form>

</body>
</html>
